package com.pj.project4sp.quartz;

import com.pj.project4sp.Util;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Slf4j
@EnableScheduling
@Component
public class Quz {
    @Autowired
    Util util;
//    @Scheduled(fixedRate = 28800000)//8小时更新
    public void delect(){
        util.bat();
        util.cvs();
        util.txt();
        util.ghb();
    }



}
